Returns: XTSKey
Creates XTS key pair.
Returns: ByteArray
Encrypts 512-byte sector.
Returns: ByteArray
Decrypts 512-byte sector.
Returns: ByteArray
Encrypts arbitrary length data.
Returns: ByteArray
Decrypts arbitrary length data.
derive(algorithm: HashAlgorithm, password: ByteArray, salt: ByteArray, iterations?: number, keyLength?: number)
Returns: ByteArray
Derives key with PBKDF2.
derive_from_string(algorithm: HashAlgorithm, password: string, salt: ByteArray, iterations?: number, keyLength?: number)
Returns: ByteArray
Derives key from string.
derive_from_strings(algorithm: HashAlgorithm, password: string, salt: string, iterations?: number, keyLength?: number)
Returns: ByteArray
Derives key from strings.
Returns: ByteArray
PBKDF2 with SHA-256.
Returns: ByteArray
PBKDF2 with SHA-512.
Returns: ByteArray
PBKDF2 with Whirlpool.
derive_veracrypt_keys(algorithm: HashAlgorithm, password: ByteArray, salt: ByteArray, iterations?: number)
Returns: { headerKey: ByteArray, secondaryKey: ByteArray }
Derives VeraCrypt key pair.
derive_hex(algorithm: HashAlgorithm, password: ByteArray, salt: ByteArray, iterations?: number, keyLength?: number)
Returns: string
Returns hex-encoded key.
Returns: number
Returns default iteration count.