MCPcopy Create free account
hub / github.com/ICBNetwork/web3-Wallet / getEncryptionLibrary

Function getEncryptionLibrary

app/core/Encryptor/lib.ts:87–91  ·  view source on GitHub ↗
(
  lib: string | undefined,
)

Source from the content-addressed store, hash-verified

85export const AesForkedLib = new AesForkedEncryptionLibrary();
86
87export function getEncryptionLibrary(
88 lib: string | undefined,
89): EncryptionLibrary {
90 return lib === ENCRYPTION_LIBRARY.original ? AesLib : AesForkedLib;
91}

Callers 2

EncryptorClass · 0.90
lib.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected