All files / src crypto.ts

75% Statements 3/4
100% Branches 0/0
100% Functions 0/0
75% Lines 3/4

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40      17x                                                                 18x   1x  
// utils
export * from './crypto/common/ecies-utils';
export * from './crypto/ripemd160/hashRipemd160';
export { default as ripemd160 } from './crypto/ripemd160/ripemd160-minimal';
export * from './crypto/common/shared-secret';
export * from './crypto/common/random-bytes';
export * from './crypto/public-key';
 
// primary exports
export * from './crypto/c32';
export * from './crypto/base58';
export * from './crypto/base58/addresses';
export * from './crypto/encryption/sign';
export * from './crypto/encryption/encrypt-ecies';
export * from './crypto/encryption/decrypt-ecies';
export * from './crypto/encryption/decrypt-content';
export * from './crypto/encryption/encrypt-content';
 
export type { SignedToken } from './crypto/token-signer/types';
export type { Json, JSONObject } from './crypto/token-signer/types';
export type { TokenInterface } from './crypto/token-signer/types';
export type {
  DecryptECIESOptions,
  EncryptECIESOptions,
  EncryptContentOptions,
  EncryptionOptions,
  NodeCryptoCreateHash,
  NodeCryptoCreateHmac,
  Hmac,
  Sha2Hash,
  CipherTextEncoding,
  SignedCipherObject,
  CipherObject,
} from './crypto/common/types';
export * from './crypto/token-signer/token-signer';
export * from './crypto/token-signer/token-verifier';
export { decodeToken } from './crypto/token-signer/decode-token';
export { createSigningInput } from './crypto/token-signer/create-signing-input';
export { createUnsecuredToken } from './crypto/token-signer/create-unsecured-token';