public static class CryptoUtils
Base64UrlDecode | Decodes Base64 URL encoded string to byte array. |
Base64UrlEncode | Encodes byte array to string using Base64 URL encoding. |
CreateBioAuthHash | Creates Auth hash for authorization with Biometrics |
DecryptAesV1 | Decrypts data with AES CBC. |
DecryptAesV2 | Decrypts with AES GCM. |
DecryptEc | |
DecryptRsa | |
DeriveKeyV1 | Derives encryption key from password. |
DeriveKeyV2 | Derives encryption key from password. |
DeriveV1KeyHash | Derives encryption key from password and gets HSA256 hash |
EncryptAesV1 | Encrypts data with AES CBC algorithm. |
EncryptEc | |
EncryptRsa | |
GenerateEcKey | |
GenerateEncryptionKey | Generate AES encryption key. Random 32 bytes. |
GeneratePassword | Generates random password. |
GenerateRsaKey | |
GenerateUid | Generates UID. Random 16 bytes encoded to Base64 URL encoded. |
GetRandomBytes | Generates secure random bytes. |
GetTotpCode | Gets TOTP code for URL |
LoadEcPrivateKey | Loads EC private key. |
LoadEcPublicKey | LoadV2 EC public key. |
LoadRsaPrivateKey | Loads RSA private key. |
LoadRsaPublicKey | Loads RSA public key. |
UnloadEcPrivateKey | |
UnloadEcPublicKey | |
UnloadRsaPrivateKey | |
UnloadRsaPublicKey |
SpecialCharacters | Special characters for password generator |