Skip to content

PrivAtlas/nip44

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nip44 implementations

Collection of NIP44 implementations in different languages.

NIP 44 is spec for nostr that aims to add secure encrypted payloads. It can be used to implement end-to-end encrypted direct messaging, among other things.

The spec has not been merged yet. For now it is available at: spec.md.

Code

The code was copied from:

Performance

Benchmarks without getConversationKey (ECDH):

  • Rust: 16B x 670,000 ops/sec @ 1.35µs/op, 512B x 500,000 ops/sec @ 2µs/op
  • JS: 16B x 46,446 ops/sec @ 21µs/op, 512B x 14,821 ops/sec @ 67µs/op

Test vectors

Check out javascript/nip44.vectors.json

About

Collection of nostr NIP44 implementations in different languages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Go 43.7%
  • Rust 34.0%
  • JavaScript 12.4%
  • TypeScript 9.9%