PageRenderTime 21ms CodeModel.GetById 19ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/libnpk/external/tea/tea.h

http://npk.googlecode.com/
C++ Header | 7 lines | 4 code | 2 blank | 1 comment | 0 complexity | 12861ff39b0c02db0c4fb551bbe8ca88 MD5 | raw file
1/* TEA code from http://www.ftp.cl.cam.ac.uk/ftp/papers/djw-rmn/djw-rmn-tea.html */
2
3void tea_encode(int* v, int* k);
4void tea_decode(int* v, int* k);
5
6void tea_encode_buffer(char* in_buffer, unsigned int in_size, int* key, int cipherRemains);
7void tea_decode_buffer(char* in_buffer, unsigned int in_size, int* key, int cipherRemains);