Skip to content

Instantly share code, notes, and snippets.

View shank03's full-sized avatar
:octocat:
π = e = √g = 3 ( ._.)

Shashank Verma shank03

:octocat:
π = e = √g = 3 ( ._.)
View GitHub Profile
@shank03
shank03 / XORCryptor.kt
Last active December 29, 2023 21:07
A simple XOR cipher/encryption in kotlin :)
/*
* Copyright (c) 2020, Shashank Verma <shashank.verma2002@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
@shank03
shank03 / AESHelper.kt
Last active July 22, 2020 05:16
A helper class for AES-256 encryption
/*
* Copyright (c) 2020, Shashank Verma <shashank.verma2002@gmail.com> [@shank03]
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
@shank03
shank03 / FirebaseAuthHelper.kt
Created July 22, 2020 05:07
Simplifying the overall implementation when signing in a User using Firebase Authentication
/*
* Copyright (c) 2020, Shashank Verma <shashank.verma2002@gmail.com> [@shank03]
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
@shank03
shank03 / roomservice.xml
Created June 5, 2020 04:31
Past this file in .repo/local_manifests; create dir if it doesn't exists
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="maple_dev" fetch="https://github.com/XZP-StockDevelopment" revision="Lineage-17.1" />
<!-- SONY -->
<project name="cryptomilk/android_kernel_sony_msm8998" path="kernel/sony/msm8998" remote="github" revision="lineage-17.1" />
<project name="android_device_sony_maple" path="device/sony/maple" remote="maple_dev" />
<project name="android_device_sony_yoshino-common" path="device/sony/yoshino-common" remote="maple_dev" />
<project name="android_device_sony_common-treble" path="device/sony/common-treble" remote="maple_dev" />
@shank03
shank03 / roomservice.xml
Created June 5, 2020 04:21
Past this file in .repo/local_manifests; create dir if it doesn't exists
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="maple_dev" fetch="https://github.com/XZP-StockDevelopment" revision="Lineage-17.1" />
<remote name="pa_dev" fetch="https://github.com/Aospa-Maple" revision="master" />
<!-- SONY -->
<project name="cryptomilk/android_kernel_sony_msm8998" path="kernel/sony/msm8998" remote="github" revision="lineage-17.1" />
<project name="android_device_sony_maple" path="device/sony/maple" remote="pa_dev" />
<project name="android_device_sony_yoshino-common" path="device/sony/yoshino-common" remote="pa_dev" />
<project name="android_device_sony_common-treble" path="device/sony/common-treble" remote="pa_dev" />