File: read

package info (click to toggle)
gp2c 0.0.11pl1-1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 2,792 kB
  • sloc: ansic: 8,398; sh: 1,687; lex: 340; yacc: 215; makefile: 140
file content (8 lines) | stat: -rw-r--r-- 166 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
\\?randprime
\\?buildkey
v=buildkey(128);
publickey=v[1];
privatekey=v[2];
clear=gp2crand(2^128)
crypted=crypt(clear,publickey)
decrypted=decrypt(crypted,privatekey)