Base64s (with "s" standing for "secure") is a derivative encoding scheme of Base64.
The data to be encoded is XORed with the given key before encoding.
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://b64s.com/
Java:
String encoded = Base64s.encode("abc", "xyz");
String decoded = Base64s.decodeString("GRsZAA==", "xyz");
JavaScript:
var encoded = base64s.encode('abc', 'xyz');
var decoded = base64s.decode('GRsZAA==', 'xyz');
Python:
encoded = base64s.encode_string('abc', 'xyz')
decoded = base64s.decode_string('GRsZAA==', 'xyz')
PowerShell:
$encoded = Get-Base64sEncodedString "abc" "xyz"
$decoded = Get-Base64sDecodedString "GRsZAA==" "xyz"
Visual Basic:
Dim encoded As String
Dim decoded As String
encoded = Base64s.EncodeString("abc", "xyz")
decoded = Base64s.DecodeString("GRsZAA==", "xyz")
Base64s is not intended to be used where secrecy is of any concern.