diff options
author | crowlKats <13135287+crowlKats@users.noreply.github.com> | 2020-07-06 17:28:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-06 11:28:10 -0400 |
commit | c7afbdaee2398f24204843e278bc9aefc5e6bdfd (patch) | |
tree | b2c6cb8fefb0cd29469c2eb6a66605bf0f49b759 /std/hash | |
parent | 8788553247c9e819721193733137763e425593af (diff) |
Fix scope in std/md5 (#6662)
Diffstat (limited to 'std/hash')
-rw-r--r-- | std/hash/md5.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/hash/md5.ts b/std/hash/md5.ts index f7e55d961..0e7017bc9 100644 --- a/std/hash/md5.ts +++ b/std/hash/md5.ts @@ -241,7 +241,7 @@ export class Md5 { for (let i = 0; i < data.length; ++i) { dataString += String.fromCharCode(data[i]); } - return window.btoa(dataString); + return btoa(dataString); } default: throw new Error("md5: invalid format"); |