Skip to content

Never never use this! Encryption with (maybe) post-quantum cryptography safe supersingular isogeny and X448 key exchange and ChaCha20-Poly1305 AEAD for symmetric encryption.

Notifications You must be signed in to change notification settings

dhcgn/SuperDuperGoCrypto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SuperDuperGoCrypto

NEVER never use this anywhere! Just for fun!

CircleCI Go Report Card

Encryption with post-quantum cryptography safe supersingular isogeny and X448 key exchange and ChaCha20-Poly1305 AEAD for symmetric encryption.

Set-Location C:\Dev\SuperDuperGoCrypto\debug

Remove-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.json

Write-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
}

About

Never never use this! Encryption with (maybe) post-quantum cryptography safe supersingular isogeny and X448 key exchange and ChaCha20-Poly1305 AEAD for symmetric encryption.

Resources

Stars

Watchers

Forks

Packages

No packages published