UNPKG
@swan-io/srp
Version:
latest (0.2.6)
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0
A modern SRP implementation for Node.js (v15+) and web browsers
github.com/swan-io/srp
swan-io/srp
@swan-io/srp
/
dist
/
hash.d.ts
4 lines
(3 loc)
•
188 B
TypeScript
View Raw
1
2
3
4
import
{
SRPInt
}
from
"./SRPInt"
;
import
{
HashAlgorithm
}
from
"./types"
;
export
declare
const
hash
:
(
hashAlgorithm
:
HashAlgorithm
, ...
input
: (SRPInt |
string
)[]
) =>
Promise
<
SRPInt
>;