deno.land / std@0.157.0 / node / _crypto / crypto_browserify / browserify_aes / modes / ecb.js

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.// Copyright 2014-2017 browserify-aes contributors. All rights reserved. MIT license.// Copyright 2013 Maxwell Krohn. All rights reserved. MIT license.// Copyright 2009-2013 Jeff Mott. All rights reserved. MIT license.
export const encrypt = function (self, block) { return self._cipher.encryptBlock(block);};
export const decrypt = function (self, block) { return self._cipher.decryptBlock(block);};
std

Version Info

Tagged at
2 years ago