3.9.98 • Published 10 months ago

@diotoborg/libero-ratione-delectus v3.9.98

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@diotoborg/libero-ratione-delectus

JavaScript library for encryption / decryption.

This package is intended to work both on the server side and on the client side.

Installation:

$ npm install --save @diotoborg/libero-ratione-delectus

Documentation:

ROT-X

/* 
*   RotX is a simple letter substitution cipher 
*   that replaces a letter with the X letter 
*   after it in the alphabet. ROT-X is a special 
*   case of the Caesar cipher
*
*   A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
*   N O P Q R S T U V W X Y Z A B C D E F G H I J K L M
*/

Usage on typescript:

// Import the package:
import { rotx } from '@diotoborg/libero-ratione-delectus';

// Use it:
let encrypt: string = rotx("plain string", 13);
let decrypt: string = rotx("rot-13 string", 13);

// Definition of rotx method:
// rotx(str: string, base: number): string

Usage on javascript:

// Import the package:
const crypto = require('@diotoborg/libero-ratione-delectus');

// Use it:
let encrypt = crypto.rotx("plain string", 13);
let decrypt = crypto.rotx("rot-13 string", 13);

// Definition of rotx method:
// rotx(str: string, base: number): string

Base64

/* 
*   Base64 is a group of binary-to-text encoding 
*   schemes that represent binary data 
*   (more specifically, a sequence of 8-bit bytes) 
*   in sequences of 24 bits that can be represented 
*   by four 6-bit Base64 digits.
*
*   The more data, the larger hash!
*   VGhlIG1vcmUgZGF0YSwgdGhlIGxhcmdlciBoYXNoIQ==
*/

Usage on typescript:

// Import the package:
import { base64 } from '@diotoborg/libero-ratione-delectus';

// Use it:
let encrypt: string = base64.encode("plain string");
let decrypt: string = base64.decode("base64 string");

// Definition of base64 methods:
// base64.encode(str: string): string
// base64.decode(str: string): string

Usage on javascript:

// Import the package:
const crypto = require('@diotoborg/libero-ratione-delectus');

// Use it:
let encrypt = crypto.base64.encode("plain string");
let decrypt = crypto.base64.decode("base64 string");

// Definition of base64 methods:
// base64.encode(str: string): string
// base64.decode(str: string): string

Hex

/* 
*   Hex
*   Hexadecimal is the name of the numbering 
*   system that is base 16. This system, 
*   therefore, has numerals 0 - 15.
*
*   That means that two-digit decimal numbers 
*   10 - 15 must be represented by a single 
*   numeral to exist in this numbering system.
*   "A"–"F" respectively.
*
*   0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
*   0 1 2 3 4 5 6 7 8 9 A  B  C  D  E  F
*/

Usage on typescript:

// Import the package:
import { hex } from '@diotoborg/libero-ratione-delectus';

// Use it:
let encrypt: string = hex.encode("plain string");
let decrypt: string = hex.decode("hexadecimal string");

// Definition of hex methods:
// hex.encode(str: string): string
// hex.decode(str: string): string

Usage on javascript:

// Import the package:
const crypto = require('@diotoborg/libero-ratione-delectus');

// Use it:
let encrypt = crypto.hex.encode("plain string");
let decrypt = crypto.hex.decode("hexadecimal string");

// Definition of hex methods:
// hex.encode(str: string): string
// hex.decode(str: string): string
bintypeerrorkinesisSymbol.toStringTaglessoptionconfigvpcslicecommand-linetsdeep-cloneECMAScript 3asyncprocesscontainshookformSystem.globalsignalscommandbusypositiveObject.assignflatYAMLdom-testing-libraryastsortprivate datareadablestreamString.prototype.matchAlltrimEndsnsregular-expressionargsbrowserlist6to5boundclassnameincludesexpressionemrString.prototype.trimES2022parserspinnerauthfunctionsstyleguidetransportexecjson-schema-validatorimportmapreduceextendvalidliveArray.prototype.filterendpointArray.prototype.findLastIndexinterruptsexit-codeless compilersimpledbrequirepostcss-pluginURLkeycore-jsfromnpmjson-schema-validationbannerdataviewES2015identifierscomparevarsdomdataquotereact-hook-formindicatoreslint-pluginfunctionmake diraccessordescriptionexpressenvironmentswindowshttpbabelproxyfetchsortedinstallasciicomputed-typesexecuteefficienttoStringTagcall-bindclassesworkspace:*walktimesharedarraybufferfixed-widthfigleteventEmitter@@toStringTagpatchcodescloudwatchcryptignoreformatcolumnsArrayBuffer.prototype.slicepolyfilltypedarraysES2018viewprotocliencryptionECMAScript 2020gdprenvreadbuffershasOwnPropertypostcsstelephonesigtermFunction.prototype.namewritestreamsdescriptorsPushnested cssminimalObservablehooksstatelessreusedescriptoruuidECMAScript 7flatMapconcatforksameValueZerobrowserjsonschemainternalroutingautoprefixershebang[[Prototype]]whichArray.prototype.flatMapes6global this valueregextypedcorevaluesfindLastIndexbrowserslistec2deepcloneequalityconsumeworkermixinslinuxPromisees8fastclonenativebddinvisualUnderscorearktypebindstylesheetparseregular expressionsyntaxwaftacitless.jsapolloapipropObject.definePropertys3sqsimmerflagshelperwarningget_.extendassertisConcatSpreadabletostringtagsespreprocessorESnextgraphqldatastructureECMAScript 2022css nestingargvMapphonevalidationamazonWebSocketstoSortedlrukoreanprotobufes2016react poseargumentlengthdefinetypedarraymatchfluxguidmatchesescapequeryarraycall-boundchildCSSobjectcollectioncompilerObject.entriesfindLastcloudsearchObject.fromEntriesinstallerRxbundlingtoReversed-0bcryptcallboundreal-timetoobjectlesscsslintgradients css3propertiespnpm9ES8keyses7global objectECMAScript 2016linkeventsprogressregexppackage.jsoncollection.es6fullIteratorjQuerystreaminferencelanguagehardlinksperformanceTypedArrayTypeScriptvalidatorexit__proto__syntaxerrorReflect.getPrototypeOfcallposezerotypeofform-validationless mixinsUint16Arraybootstrap css
3.9.97

10 months ago

3.9.98

10 months ago

3.9.96

10 months ago

3.9.95

10 months ago

3.9.94

10 months ago

3.9.93

10 months ago

3.9.92

10 months ago

3.9.91

10 months ago

3.9.90

10 months ago

3.9.89

10 months ago

3.9.88

10 months ago

3.9.87

10 months ago

3.9.86

10 months ago

3.8.86

10 months ago

3.8.85

10 months ago

3.8.84

10 months ago

3.7.84

10 months ago

3.7.83

10 months ago

3.7.82

10 months ago

3.7.81

10 months ago

3.7.80

10 months ago

3.7.79

10 months ago

3.7.78

11 months ago

3.7.77

11 months ago

3.7.76

11 months ago

3.7.75

11 months ago

3.7.74

11 months ago

3.7.73

11 months ago

3.7.72

11 months ago

3.7.71

11 months ago

3.7.70

11 months ago

3.7.69

11 months ago

3.7.68

11 months ago

3.7.67

11 months ago

3.7.66

11 months ago

3.7.65

11 months ago

3.7.64

11 months ago

3.7.63

11 months ago

3.7.62

11 months ago

3.7.61

11 months ago

3.7.60

11 months ago

3.7.59

11 months ago

3.7.58

11 months ago

3.7.57

11 months ago

3.7.56

11 months ago

3.7.55

11 months ago

3.7.54

11 months ago

3.7.53

11 months ago

3.7.52

11 months ago

3.7.51

11 months ago

3.7.50

11 months ago

3.7.49

11 months ago

3.7.48

12 months ago

3.7.47

12 months ago

3.7.46

12 months ago

3.7.45

12 months ago

3.7.44

12 months ago

3.7.43

12 months ago

3.6.43

12 months ago

3.6.42

12 months ago

3.6.41

12 months ago

3.6.40

12 months ago

2.6.40

12 months ago

2.6.39

12 months ago

2.6.38

12 months ago

2.6.37

12 months ago

2.5.37

12 months ago

2.5.36

12 months ago

2.5.35

12 months ago

2.5.34

12 months ago

2.5.33

12 months ago

2.5.32

12 months ago

2.5.31

1 year ago

2.5.30

1 year ago

2.5.29

1 year ago

2.5.28

1 year ago

2.5.27

1 year ago

2.5.26

1 year ago

2.5.25

1 year ago

2.5.24

1 year ago

2.5.23

1 year ago

2.4.23

1 year ago

2.3.23

1 year ago

2.3.22

1 year ago

2.3.21

1 year ago

2.2.21

1 year ago

2.2.20

1 year ago

2.2.19

1 year ago

2.2.18

1 year ago

2.2.17

1 year ago

2.2.16

1 year ago

2.2.15

1 year ago

2.2.14

1 year ago

2.1.14

1 year ago

2.1.13

1 year ago

2.1.12

1 year ago

2.1.11

1 year ago

2.1.10

1 year ago

2.1.9

1 year ago

2.1.8

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago