MCPcopy Create free account
hub / github.com/cameri/nostream / nip44.spec.ts

File nip44.spec.ts

test/unit/utils/nip44.spec.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import * as secp256k1 from '@noble/secp256k1'
2import { expect } from 'chai'
3
4import { getConversationKey, nip44Decrypt, nip44Encrypt, validateNip44Payload } from '../../../src/utils/nip44'

Callers

nothing calls this directly

Calls 6

getConversationKeyFunction · 0.90
nip44EncryptFunction · 0.90
nip44DecryptFunction · 0.90
validateNip44PayloadFunction · 0.90
pubkeyFromPrivkeyFunction · 0.85
toStringMethod · 0.80

Tested by

no test coverage detected