Skip to content

Commit c0ff14a

Browse files
committed
chore: delete hashOptionsToBuffer
1 parent 55fb74d commit c0ff14a

File tree

1 file changed

+0
-6
lines changed
  • packages/react-native-quick-crypto/src

1 file changed

+0
-6
lines changed

packages/react-native-quick-crypto/src/hash.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,6 @@ interface HashOptions extends TransformOptions {
2424
outputLength?: number | undefined;
2525
}
2626

27-
function hashOptionsToBuffer(options: HashOptions): ArrayBuffer | undefined {
28-
return typeof options.outputLength === 'number'
29-
? new Uint32Array([options.outputLength]).buffer
30-
: undefined;
31-
}
32-
3327
interface HashArgs {
3428
algorithm: string;
3529
options?: HashOptions;

0 commit comments

Comments
 (0)