Crypto |
The CryptoUtils type exposes the following members.
Name | Description | |
---|---|---|
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 | Decrypts data wit EC cryptography. | |
DecryptRsa | Decrypts data with RSA private key | |
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 | Encrypts data with EC cryptography. | |
EncryptRsa | Encrypts data with RSA public key. | |
GenerateEcKey | Generate EC key pair. | |
GenerateEncryptionKey | Generate AES encryption key. Random 32 bytes. | |
GeneratePassword | Generates random password. | |
GenerateRsaKey | Generates RSA key pair. | |
GenerateUid | Generates UID. Random 16 bytes encoded to Base64 URL encoded. | |
GetRandomBytes | Generates secure random bytes. | |
GetTotpCode | Gets TOTP code for URL | |
LoadPrivateEcKey | Loads EC private key. | |
LoadPrivateKey | Loads RSA private key. | |
LoadPublicEcKey | LoadV2 EC public key. | |
LoadPublicKey | Loads RSA public key. | |
UnloadEcPrivateKey | Serializes EC private key. | |
UnloadEcPublicKey | Serializes EC public key. |