https://github.com/dhcgn/superdupergocrypto
Never never use this! Encryption with (maybe) post-quantum cryptography safe supersingular isogeny and X448 key exchange and ChaCha20-Poly1305 AEAD for symmetric encryption.
https://github.com/dhcgn/superdupergocrypto
Last synced: 3 months ago
JSON representation
Never never use this! Encryption with (maybe) post-quantum cryptography safe supersingular isogeny and X448 key exchange and ChaCha20-Poly1305 AEAD for symmetric encryption.
- Host: GitHub
- URL: https://github.com/dhcgn/superdupergocrypto
- Owner: dhcgn
- Created: 2019-07-13T06:16:58.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-11T20:41:27.000Z (about 2 years ago)
- Last Synced: 2025-01-23T13:08:19.383Z (5 months ago)
- Language: Go
- Homepage:
- Size: 756 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SuperDuperGoCrypto
> NEVER never use this anywhere! Just for fun!
[](https://circleci.com/gh/dhcgn/SuperDuperGoCrypto)
[](https://goreportcard.com/report/github.com/dhcgn/SuperDuperGoCrypto)Encryption with post-quantum cryptography safe supersingular isogeny and X448 key exchange and ChaCha20-Poly1305 AEAD for symmetric encryption.
```powershell
Set-Location C:\Dev\SuperDuperGoCrypto\debugRemove-Item *.json
.\file.exe -GenerateKeyPair -PrivateKeyFile="private1.json"
.\file.exe -ExtractPublicKey -PrivateKeyFile="private1.json" -PublicKeyFile="public1.json".\file.exe -GenerateKeyPair -PrivateKeyFile="private2.json"
.\file.exe -ExtractPublicKey -PrivateKeyFile="private2.json" -PublicKeyFile="public2.json"Set-Content -Value "Hallo World!" -Path plain.txt
.\file.exe -Encrypt -PublicKeyFile="public1.json" -PlainFile plain.txt -CipherFile cipher.json
.\file.exe -Decrypt -PrivateKeyFile="private1.json" -PlainFile plain_decrypted.txt -CipherFile cipher.jsonWrite-Host ("Plain: {0}" -f (Get-Content plain.txt))
Write-Host ("Decrypt: {0}" -f (Get-Content plain_decrypted.txt))if ((Get-Content plain.txt) -eq (Get-Content plain_decrypted.txt)) {
Write-Host "OK" -ForegroundColor Green
}else {
Write-Host "Error" -ForegroundColor Red
}
```