We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55fb74d commit c0ff14aCopy full SHA for c0ff14a
packages/react-native-quick-crypto/src/hash.ts
@@ -24,12 +24,6 @@ interface HashOptions extends TransformOptions {
24
outputLength?: number | undefined;
25
}
26
27
-function hashOptionsToBuffer(options: HashOptions): ArrayBuffer | undefined {
28
- return typeof options.outputLength === 'number'
29
- ? new Uint32Array([options.outputLength]).buffer
30
- : undefined;
31
-}
32
-
33
interface HashArgs {
34
algorithm: string;
35
options?: HashOptions;
0 commit comments