Skip to content

Commit d044876

Browse files
committed
chore: wip
1 parent bc00efc commit d044876

9 files changed

Lines changed: 1255 additions & 200 deletions

File tree

.vscode/dictionary.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
addstore
2+
aeskey
23
antfu
34
audiox
45
biomejs

src/cipher.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,9 @@ export class BlockCipher {
138138
private mode: AlgorithmMode
139139
private blockSize: number
140140
private _finish: boolean
141-
private _input: any
142-
private output: any
143-
private _op: (input: any, output: any, finish: boolean) => boolean
141+
private _input: ByteStringBuffer | null
142+
public output: ByteStringBuffer | null
143+
private _op: (input: ByteStringBuffer, output: ByteStringBuffer, finish: boolean) => boolean
144144
private _decrypt: boolean
145145

146146
constructor(options: CipherOptions) {

src/hmac.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ interface HMACModule {
3737
*
3838
* @return an HMAC object.
3939
*/
40-
function create(): HMAC {
40+
export function create(): HMAC {
4141
// the hmac key to use
4242
let _key: ByteStringBuffer | null = null
4343

0 commit comments

Comments
 (0)