| /********************************************************************************* | 
|  *      Copyright:  (C) 2020 LingYun IoT System Studio | 
|  *                  All rights reserved. | 
|  * | 
|  *       Filename:  main.c | 
|  *    Description:  This file  | 
|  *                  | 
|  *        Version:  1.0.0(2020年04月04日) | 
|  *         Author:  Guo Wenxue <guowenxue@gmail.com> | 
|  *      ChangeLog:  1, Release initial version on "2020年04月04日 20时57分10秒" | 
|  *                  | 
|  ********************************************************************************/ | 
|   | 
| #include <stdio.h> | 
| #include "encrypto.h" | 
|   | 
| int main (int argc, char *argv[]) | 
| { | 
|     char    *str="hello world";  | 
|     char     ciphertxt[128]; | 
|     char     text[128]; | 
|   | 
|     encrypto(str, ciphertxt, 128); | 
|     printf("cipher text: %s\r\n", ciphertxt); | 
|   | 
|     decrypto(ciphertxt, text, 128); | 
|     printf("text: %s\r\n", text); | 
|   | 
|   | 
|     return 0; | 
| }  |