Initial pair encryption (xsalsa20-poly1305) (#107)

* Allow keypair generation from input string

* Add keyfile encryption/decryption

* Pass secret through n rounds

* Split definition types

* Additional cleanups

* Pass salt as blake2b input

* Move kdf hashing to util-cypto

* Dangling comma

* Pull through secret as string | Uint8Array

* Update documentation
This commit is contained in:
Jaco Greeff
2018-03-13 17:04:44 +01:00
committed by GitHub
parent 827012783f
commit 995dfecf61
32 changed files with 527 additions and 32 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
"test": "jest --coverage"
},
"devDependencies": {
"@polkadot/dev": "^0.16.14",
"@polkadot/dev": "^0.16.15",
"lerna": "^2.5.1"
}
}