The crypto module provides access to common cryptographic algorithms.

Example:

import * as ccfcrypto from '@microsoft/ccf-app/crypto.js';

const key = ccfcrypto.generateAesKey(128);

References

Re-exports AesKwpParams
Re-exports CryptoKeyPair
Re-exports DigestAlgorithm
Re-exports RsaOaepAesKwpParams
Re-exports RsaOaepParams
Re-exports SigningAlgorithm
Re-exports WrapAlgoParams