| Deutsch English Français Italiano |
|
<101ecf3$3okc0$1@news.tcpreset.net> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!newsfeed.endofthelinebbs.com!news.tcpreset.net!.POSTED!not-for-mail From: Stefan Claas <stefan@mailchuck.com> Newsgroups: sci.crypt Subject: DNAcrypt - experiment Date: Sat, 31 May 2025 09:52:03 +0200 Organization: Victor Usenet Postings Message-ID: <101ecf3$3okc0$1@news.tcpreset.net> NNTP-Posting-Host: c3066ed76bae8bcc0e476efb157ff758 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 31 May 2025 07:52:03 -0000 (UTC) Injection-Info: news.tcpreset.net; logging-data="3953024"; mail-complaints-to="abuse@tcpreset.net" User-Agent: flnews/1.3.0pre31 (for GNU/Linux) Cancel-Lock: sha1:pyeVe5lDz70vxL2h33L7Oc23Jf0= X-Ed25519-Sig: 8d2e1001ce4f675c3bdfe98f18fac8e4d660c205e59713157ed5b1e6bfc7d803 8ee6c20ae7ea0e2ea5b28433948563442b3e9256776a62832aa1b71306e6f402 X-Date: It's Sat Sep 11596 09:52:03 AM CEST 1993, the September that never ends. X-Ed25519-Pub: c0ffee5a36e581eb10f60b2831b3cdb955d2e7ef680dd282a8d43ad8b84b357a Bytes: 2330 Lines: 29 Hi all, last year I read about DNA encryption and I thought, since I have a bit time, to try it out. The interesting thing with DNA encryption is a laboratory can use its expensive equipment to inject the results into plants for example, so that the cipher text is hidden from third parties and transport the plant around and nobody knows that the plant carries an encrypted message, which can then later been extracted. Here is my Go program. It uses TPM 2.0 Hardwarer module to generate the keys and then does a XOR operation. C:\Users\xxxxxxxx\Desktop>dnacrypt genkey 52 key.txt Random DNA key of length 52 generated using TPM 2.0 and saved to 'key.txt'. C:\Users\xxxxxxxx\Desktop>dnaentropy key.txt Shannon entropy of the DNA key (52 bases): 1.9397 ✔ The key has high entropy and appears well-distributed. C:\Users\xxxxxxxx\Desktop>dnacrypt encrypt msg.txt key.txt out.txt Plaintext as DNA (first 20 bases): TACATCTTTCGATCGATCGG... Encryption complete. Ciphertext DNA saved to 'out.txt'. Ciphertext: GGTAGGTTCAGCGAGGGCCGGTCATCATAGACCTGATGAGCTTCGCCT I think this is an interesting experiment and is pretty cool hidden encryption, even the NSA or CIA can't detect. Regards Stefan