Import pwd hashing and verification
ci/woodpecker/manual/test Pipeline was successful

This commit is contained in:
2024-10-15 21:48:56 +02:00
parent 17c0b1b414
commit dbba961dbf
3 changed files with 154 additions and 0 deletions
+2
View File
@@ -4,6 +4,7 @@ import PrivateBox from './src/private-box'
import PrivateWrap from './src/private-wrap'
import PwdBox from './src/pwd-box'
import PwdWrap from './src/pwd-wrap'
import {hash, verify} from './src/pwd'
export enum Strength {
weak,
@@ -22,5 +23,6 @@ export * as kdf from './src/kdf'
export * as misc from './src/misc'
export * as signature from './src/signature'
export * as JWT from './src/jwt'
export const pwd = {hash, verify}
export {SecretBox, SecretWrap, PrivateBox, PrivateWrap, PwdBox, PwdWrap}