Skip to main content

nip49 1.2.0 copy "nip49: ^1.2.0" to clipboard
nip49: ^1.2.0 copied to clipboard

NIP-49 Private Key Encryption for Nostr protocol - encrypt/decrypt private keys with passwords.

1.2.0 #

  • Replace pointycastle with a built-in scrypt: about 28x faster with dart2js, 11x with dart2wasm and 1.8x on native
  • Run key derivation in a separate isolate on native platforms so it no longer blocks the UI
  • Reject payloads that are not exactly 91 bytes
  • Reject an unknown key security byte when encrypting
  • Throw ArgumentError for invalid bech32 input

1.1.2 #

  • Upgrade pointycastle to 4.0.0

1.1.1 #

  • Dowgrade pointycastle to 3.9.1 for NDK support

1.1.0 #

  • Added full Unicode NFKC normalization support for passwords
  • Added unorm_dart dependency for proper Unicode handling
  • Improved NIP-49 specification compliance to 99%
  • Added Unicode normalization tests
  • Removed unnecessary typed_data dependency
1
likes
160
points
235
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

NIP-49 Private Key Encryption for Nostr protocol - encrypt/decrypt private keys with passwords.

Repository (GitHub)
View/report issues

Topics

#nostr #nip49

License

MIT (license)

Dependencies

bech32, convert, crypto, cryptography, unorm_dart

More

Packages that depend on nip49