Version v0.3.36 - "."
This commit is contained in:
28
README.md
28
README.md
@@ -58,14 +58,14 @@ One-time pads can be trivially encrypted and decrypted using pencil and paper, m
|
||||
|
||||
### Download Pre-Built Binaries
|
||||
|
||||
**[Download Current Linux x86](https://git.laantungir.net/laantungir/otp/releases/download/v0.3.34/otp-v0.3.34-linux-x86_64)**
|
||||
**[Download Current Linux x86](https://git.laantungir.net/laantungir/otp/releases/download/v0.3.35/otp-v0.3.35-linux-x86_64)**
|
||||
|
||||
**[Download Current Raspberry Pi 64](https://git.laantungir.net/laantungir/otp/releases/download/v0.3.34/otp-v0.3.34-linux-arm64)**
|
||||
**[Download Current Raspberry Pi 64](https://git.laantungir.net/laantungir/otp/releases/download/v0.3.35/otp-v0.3.35-linux-arm64)**
|
||||
|
||||
After downloading:
|
||||
```bash
|
||||
# Rename for convenience, then make executable
|
||||
mv otp-v0.3.34-linux-x86_64 otp
|
||||
mv otp-v0.3.35-linux-x86_64 otp
|
||||
chmod +x otp
|
||||
|
||||
# Run it
|
||||
@@ -431,6 +431,28 @@ No. ChkSum (first 16 chars) Size Used % Used
|
||||
# Select "S" for show pad info, enter checksum or prefix
|
||||
```
|
||||
|
||||
## Important Notes
|
||||
|
||||
### Size Units: Decimal (SI) vs Binary (IEC)
|
||||
|
||||
**This program uses decimal (SI) units for all size specifications**, matching the behavior of most system tools like `ls -lh`, `df -h`, and file managers:
|
||||
|
||||
- **1 KB** = 1,000 bytes (not 1,024)
|
||||
- **1 MB** = 1,000,000 bytes (not 1,048,576)
|
||||
- **1 GB** = 1,000,000,000 bytes (not 1,073,741,824)
|
||||
- **1 TB** = 1,000,000,000,000 bytes (not 1,099,511,627,776)
|
||||
|
||||
**Why decimal units?**
|
||||
- Consistency with system tools (`ls`, `df`, file managers)
|
||||
- Matches storage device marketing (a "1TB" USB drive has ~1,000,000,000,000 bytes)
|
||||
- Avoids confusion when comparing sizes across different tools
|
||||
- Industry standard for storage devices and file systems
|
||||
|
||||
**Example:** When you request a 100GB pad, the program creates exactly 100,000,000,000 bytes, which will display as "100GB" in `ls -lh` and your file manager.
|
||||
|
||||
**Note:** Some technical tools may use binary units (GiB, MiB) where 1 GiB = 1,024³ bytes. This program intentionally uses decimal units for user-friendliness and consistency with common tools.
|
||||
|
||||
|
||||
## License
|
||||
|
||||
This project includes automatic versioning system based on the Generic Automatic Version Increment System.
|
||||
|
||||
Reference in New Issue
Block a user