1
0
mirror of https://github.com/biergaizi/codecrypt synced 2024-07-08 19:31:24 +00:00
codecrypt/lib/nd.cpp
2012-05-22 15:41:56 +02:00

36 lines
516 B
C++

#include "codecrypt.h"
using namespace ccr;
using namespace ccr::nd;
int nd::generate (pubkey&pub, privkey&priv, prng&rng)
{
return -1; //TODO
}
int pubkey::encrypt (const bvector& in, bvector&out, prng&rng)
{
return -1; //TODO
}
int privkey::decrypt (const bvector&in, bvector&out)
{
return -1; //TODO
}
int privkey::sign (const bvector&in, bvector&out, uint delta, uint h, prng&rng)
{
return -1; //TODO
}
int pubkey::verify (const bvector&in, const bvector&hash, uint delta)
{
return -1; //TODO
}