🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

base4096hangul

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

base4096hangul - npm Package Compare versions

Comparing version

to
1.0.2

4

index.js

@@ -51,7 +51,7 @@ // Copyright (c) 2020 Neruthes <https://neruthes.xyz/>

console.log(phrase);
tmp3 += phrase + ' ';
tmp3 += phrase + [' ', ' ', ' ', ' ', ', ', '. '][Math.floor(Math.random()*6)];
tmp2 = tmp2.slice(stepLength);
tmp3progress += stepLength;
};
result = tmp3;
result = (tmp3.trimRight() + '.').replace('..', '.');
};

@@ -58,0 +58,0 @@ // Use `0xAC00 + 8200` for padding in future

{
"name": "base4096hangul",
"version": "1.0.1",
"version": "1.0.2",
"description": "Encode data in Hangul",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -12,3 +12,3 @@ # Base4096Hangul

```javascript
Base4096Hangul.encodeString('This is the string you want to encode.', { header: 'This is a header. ', trimming: 42 })
Base4096Hangul.encodeString('This is the string you want to encode.', { header: 'This is a header. ' })
```

@@ -19,6 +19,3 @@

```
This is a header. We ThE pEopLe OF tHe unItED sTatES, iN ORdeR TO foRm a morE pERfEct UNiON, EstABLisH justiCe, INSuRe dOmEStIc trAnQUilItY, ProVide foR tHE ComMON dEFEnCe, pRoMOTe tHe GeNErAl wELfARe, AND sEcURe tHE BLesSings oF lIBERty TO oURsELVES aND OuR pOSteRity, do OrDAIn AND EsTAblisH ThIS cONStItUTIoN foR thE uniteD sTATeS of AmERiCA.
ARTicLe. i.
secTiON. 1.
alL lEGiSLaTIVe PoWErs hEREiN GrANTED sHAll Be vEsTEd iN a COngReSS Of the united States, which shall consist of a Senate an
This is a header. 녆둩 댲걩 댲건늆넠 댷끲늖멧긇 땯덒걷눖 면긇끯긆녮 눶뭤뉒먀
```

@@ -33,3 +30,3 @@

```javascript
Base4096Hangul.decode('We The PeopLe OF thE uNItED sTAteS, iN OrDEr tO fORm A MORe perfect union, establish Justice, insure domestic T', { format: 'string', stringFormat: 'utf-8' })
Base4096Hangul.decodeString('녆둩 댲걩 댲건늆넠 댷끲늖멧긇 땯덒걷눖 면긇끯긆녮 눶뭤뉒먀')
```

@@ -40,9 +37,5 @@

```
Hello
This is the string you want to encode.
```
Notes:
- Options may be omitted.
## Web App

@@ -54,3 +47,3 @@

- NPM: https://www.npmjs.com/package/Base4096Hangul
- NPM: https://www.npmjs.com/package/base4096hangul

@@ -57,0 +50,0 @@ ## Copyright

Sorry, the diff of this file is not supported yet