]> zoso.dev Git - libnemo.git/commit
Version 1.4.0
authorMiro Metsänheimo <miro@metsanheimo.fi>
Fri, 22 Apr 2022 20:54:27 +0000 (23:54 +0300)
committerMiro Metsänheimo <miro@metsanheimo.fi>
Sun, 24 Apr 2022 18:28:33 +0000 (21:28 +0300)
commit7f5cdc33c8e8a6ecb32867836abffc2e303c3896
tree9a36d6eb47521a53ab5aed121bba47e57f035a17
parentcd50b77d517fae996b089bd161990c3717d3feaf
Version 1.4.0

* Added new functionality to encrypt/decrypt strings with Diffie-Hellman
key exchange with Nano addresses and private keys by converting the keys
to Curve25519 keys suitable for encryption and using Box functionality
from NaCl. The library will generate a random nonce to each encryption
and pass the nonce along with the encrypted message encoded in Base64
* Some code refactoring (use static classes and make sure ed25519 and
curve classes are always freshly created)
18 files changed:
README.md
index.ts
lib/address-generator.ts
lib/address-importer.ts
lib/bip32-key-derivation.ts
lib/bip39-mnemonic.ts
lib/block-signer.ts
lib/box.ts [new file with mode: 0644]
lib/ed25519.ts
lib/nano-address.ts
lib/nano-converter.ts
lib/signer.ts
lib/util/convert.ts
lib/util/curve25519.ts
lib/util/util.ts
package-lock.json
package.json
test/test.js