SymmetricCipher

AES-256-GCM cipher with PBKDF2-HMAC-SHA256 key derivation.

Output format: magic (OS1\0) || salt (16) || IV (12) || ciphertext + GCM tag.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Decrypts a blob produced by encrypt.

Link copied to clipboard

Encrypts request.plaintext with request.password.