Skip to content

takashiharano/bsb64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BSB64

BSB64 is an algorithm for simple encryption.
The encrypted data is seemingly Base64 encoded characters, but it is impossible to decode in Base64.
The detail of the mechanism is available at https://bsb64.com/

Usage

Java:

String encoded = BSB64.encodeString("abc", 1);
String decoded = BSB64.decodeString("wsTG", 1);

JavaScript:

var encoded = BSB64.encodeString('abc', 1);
var decoded = BSB64.decodeString('wsTG', 1);

Python:

encoded = bsb64.encode_string('abc', 1)
decoded = bsb64.decode_string('wsTG', 1)

PowerShell:

$encoded = Get-Bsb64EncodedString "abc" 1
$decoded = Get-Bsb64DecodedString "wsTG" 1

Visual Basic:

Dim encoded As String
Dim decoded As String
encoded = BSB64.EncodeString("abc", 1)
decoded = BSB64.DecodeString("wsTG", 1)

Notice

BSB64 is not intended to be used where secrecy is of any concern.