ICryptoStrategy
katanakit-js / ICryptoStrategy
Interface: ICryptoStrategy
Section titled “Interface: ICryptoStrategy”Defined in: types/core/generator.ts:2
Contract for a crypto strategy.
Methods
Section titled “Methods”useHash()
Section titled “useHash()”useHash(plainText, salt?): Promise<string>;Defined in: types/core/generator.ts:3
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
plainText |
string |
salt? |
string |
Returns
Section titled “Returns”Promise<string>