Deutsch   English   Français   Italiano  
<vkua9d$33gds$3@paganini.bofh.team>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.nobody.at!2.eu.feeder.erje.net!feeder.erje.net!newsfeed.bofh.team!paganini.bofh.team!not-for-mail
From: Stefan Claas <pollux@tilde.club>
Newsgroups: sci.crypt
Subject: [base64+]
Date: Mon, 30 Dec 2024 15:21:31 +0100
Organization: To protect and to server
Message-ID: <vkua9d$33gds$3@paganini.bofh.team>
Mime-Version: 1.0
Injection-Date: Mon, 30 Dec 2024 14:21:33 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="3260860"; posting-host="lXbPTgCmfq3Yw1jDpgjSEQ.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
User-Agent: flnews/1.3.0pre29 (for GNU/Linux)
Cancel-Lock: sha1:fscUWOwyjoZNxFNS2Rrqget3Qyk=
X-Notice: Filtered by postfilter v. 0.9.3
X-Ed25519-Sig: ff3b71fb0a9f719b0acff3a7f870239c1adb79df536ec43f987eb89c823381ad
 088faa7727c37838a9f49cc55bb95719398241f007d85d47f4eacd387fdc0d09
X-Date: It's Mon Sep 11444 03:21:31 PM CET 1993, the September that never ends.
X-Ed25519-Pub: c0ffee5a36e581eb10f60b2831b3cdb955d2e7ef680dd282a8d43ad8b84b357a
Bytes: 2110
Lines: 34

Hi all,

while no encryption, this is an enhanced version of a standard
base64 encoder/decoder.

It writes the filename, file size and SHA256 hashsum as a Header,
like in this example:

bart.jpg
2837
8f17bcf334121fe993a48c61179d09c18c25aa2dac1c9c8e6ccef8f860e68997

/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQIBAQEBAQIB
AQECAgICAgICAgIDAwQDAwMDAwICAwQDAwQEBAQEAgMFBQQEBQQEBAT/2wBDAQEB
AQEBAQIBAQIEAwIDBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQE
BAQEBAQEBAQEBAQEBAT/wgARCAAwADADAREAAhEBAxEB/8QAGgABAQADAQEAAAAA
AAAAAAAACAAEBQcCCf/EABwBAAIDAAMBAAAAAAAAAAAAAAAGBQcIAQIDBP/aAAwD
[...]

When decoding one no longer needs to provide a filename, because
it is detected and the file is automatically written in the current
directory.

$ base64+ -d < bart.txt
Original size: 2837 bytes
SHA256: 8f17bcf334121fe993a48c61179d09c18c25aa2dac1c9c8e6ccef8f860e68997
Matches original: true

Hope you like base64+!

https://github.com/706f6c6c7578/base64-plus

-- 
Regards
Stefan