Index

Methods

Methods

public static decrypt(key: CryptographicKey, data: IBuffer, iv: IBuffer): IBuffer

Parameters

Returns

IBuffer

public static decryptAndAuthenticate(key: CryptographicKey, data: IBuffer, nonce: IBuffer, authenticationTag: IBuffer, authenticatedData: IBuffer): IBuffer

Parameters

Returns

IBuffer

public static deriveKeyMaterial(key: CryptographicKey, parameters: KeyDerivationParameters, desiredKeySize: number): IBuffer

Parameters

Returns

IBuffer

public static encrypt(key: CryptographicKey, data: IBuffer, iv: IBuffer): IBuffer

Parameters

Returns

IBuffer

public static encryptAndAuthenticate(key: CryptographicKey, data: IBuffer, nonce: IBuffer, authenticatedData: IBuffer): EncryptedAndAuthenticatedData

Parameters

Returns

EncryptedAndAuthenticatedData

public static sign(key: CryptographicKey, data: IBuffer): IBuffer

Parameters

Returns

IBuffer

public static verifySignature(key: CryptographicKey, data: IBuffer, signature: IBuffer): boolean

Parameters

Returns

boolean