
Product
Socket Now Supports pylock.toml Files
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Base69 is a binary-to-text encoding scheme inspired by Base64 encoding.
Why Base69 when Base64 is adequate? Because it's NICE!
Base69 is similar to Base64 - it uses a set of 69 characters (not 64) to represent the data and uses the character =
to indicate padding.
Base64 works with blocks of 3 bytes which can be broken into four 6-bit chunks. (6 bits can represent 64 values).
Base69 works with block of 7 bytes instead which can be broken into eight 7-bit chunks. (Need at least 7 bytes to represent 69 values; and since 7 is prime, need at least 7 bytes to break the data into 8 chunks of 7 bits).
The 69 characters in the set are:
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/-*<>|
0
are added at the end to make a 7-byte chunk.p=
whre p is the number of bytes padded at the end. e.g. if the data at the end is 4 bytes long, 3 bytes are added. So the last 2 characters in the encoded string will be 3=
A basic Javascript implementation is added to this project. Implementations in other languages are welcome from contributors.
View demo that turns text to Base69 strings and vice versa.
export declare function encode(bytes: Uint8Array): string;
export declare function decode(value: string): Uint8Array;
Why implement Base69?
Because it's noice!
Is it better than Base64?
Not really
FAQs
Base69 encoding. Nice!
The npm package base69 receives a total of 0 weekly downloads. As such, base69 popularity was classified as not popular.
We found that base69 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.
Research
Security News
Malicious Ruby gems typosquat Fastlane plugins to steal Telegram bot tokens, messages, and files, exploiting demand after Vietnam’s Telegram ban.