Skip to content

Commit 2ecbad2

Browse files
committed
chore: fix slow-types for JSR
1 parent e519335 commit 2ecbad2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export class Cipher {
121121
* Calculate MAC
122122
* @param text Input text
123123
*/
124-
public mac(text: string) {
124+
public mac(text: string): string {
125125
const splitted = text.match(/.{1,10}/g)?.map(i => i.padEnd(10, "0"))!;
126126
let block = "0000000000";
127127
for(let i of splitted) block = this.decrypt(`${i}${block}`, {mode: 2});

0 commit comments

Comments
 (0)