Tag Archives: Openssl

the format of openssh public key

The openssh public key is like this :

using openssl to decode it:

And I write a python script to decode it, and found the format like this:

The sample python code:

Posted in Writing | Tagged , , , , | Comments Off on the format of openssh public key

Build openssl for windows

First, download source code: https://www.openssl.org/source/openssl-1.0.2h.tar.gz Second, download ActivePerl https://www.activestate.com/activeperl Third, download mingw64 https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/

And I compile mingw version under xubuntu 16.04 with mingw32 installed.

Have fun:P This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License. … Continue reading

Posted in Memo | Tagged , , , | Comments Off on Build openssl for windows

使用Openssl的RSA加密算法

上次尝试了AES,这次闲着玩玩RSA。 支持RSA的一些算法有:CryptoPP、MS CryptoAPI、Openssl、libcrypt 用过CryptoPP,感觉太麻烦…… 上网搜了一下,发现还是基于C的接口简单。

Posted in Memo | Tagged , , , | Comments Off on 使用Openssl的RSA加密算法

使用Openssl的AES加密算法

在网络应用的信息安全是基于密码学的,所以如果想做安全方面的邻域需要有一定的密码学基础。当然最好的学习方法就是边看书边尝试。

Posted in Memo | Tagged , , | Comments Off on 使用Openssl的AES加密算法