1.0.2 • Published 2 years ago
@scaratek/vise v1.0.2
Vise
Violets In-Secure Encryption
Example
const Vise = require("@scaratek/vise"); // Loads The Module
const Gen = Vise.Generate(); // Generates a Token
Vise.Export(Gen, "./token"); // Exports the Token to a File 
const Token = Vise.Import("./token"); // Imports the Token
const Text = "@scaratek/vise"; // Non-Encoded Text
const Encoded = Vise.Encode(Token, Text); // Encodes Text
const Decoded = Vise.Decode(Token, Encoded); // Decodes Text
// Logs Encoded and Decoded Text
console.log(Encoded);
console.log(Decoded);Documentation
- Vise.Generate();- Generates a Token
- Vise.Export(*token*, *file path*)- Exports a Token
- Vise.Import(*file path*)- Imports a Token
- Vise.Encode(*token*, *strong*)- Encodes Text
- Vise.Decode(*token*, *encoded string*)- Decodes Text