RSA 2048 Private key and Public Key Pair Generation
Example 1:
$ openssl genrsa -out privkey.pem 2048
$ openssl rsa -pubout -in privkey.pem -out pubkey.pem
Example 2:
# Generate aes256 encrypted private key
$ openssl genrsa -aes256 -out privkey.pem 2048
# Generate public key from previously created private key.
$ openssl rsa -pubout -in privkey.pem -out pubkey.pem
Elliptic Curve DSA
# Generating params file
$ openssl ecparam -name prime256v1 -out ecparams.pem
# Generate a private key from params file
$ openssl ecparam -in ecparams.pem -genkey -noout -out ecprivkey.pem
# Generate a public key from private key
$ openssl ec -in ecprivkey.pem -pubout -out ecpubkey.pem
Ref:
Crypto Key Length Recommendation
Thursday, April 17, 2014
Thursday, April 10, 2014
CodeBench ARM Cross-Compiler on Mac OS X
1. Install MacTex
http://mirror.ctan.org/systems/mac/mactex/MacTeX.pkg
2. Install GNU sed, awk
$ brew install sed
$ brew install gawk
3. Install gettext
http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.3.2.tar.gz
$ cd gettext-0.18.3.2
$ ./configure
$ make
$ sudo make install
4. CodeBench Lite
https://sourcery.mentor.com/GNUToolchain/release2642
5. Build
patch -
script -
No kidding, I take one day to compile the ARM toolchain.
http://mirror.ctan.org/systems/mac/mactex/MacTeX.pkg
2. Install GNU sed, awk
$ brew install sed
$ brew install gawk
3. Install gettext
http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.3.2.tar.gz
$ cd gettext-0.18.3.2
$ ./configure
$ make
$ sudo make install
4. CodeBench Lite
https://sourcery.mentor.com/GNUToolchain/release2642
5. Build
patch -
script -
No kidding, I take one day to compile the ARM toolchain.
Wednesday, April 9, 2014
Saturday, April 5, 2014
Saturday, March 15, 2014
Yocto
Yocto is becoming more and more popular recently. What is it actually and what is the difference with "buildroot" project?
Ref:
http://elinux.org/images/9/9e/Buildroot2.pdf (Page 5)
Book:
Embedded Linux Systems with the Yocto Project
Yocto for Embedded Linux Development Primer
Otavio Salvador, Daiane Angolini
121 pages
Publisher: Packt Publishing (April 6, 2014)
ISBN-10: 1783282339
ISBN-13: 978-1783282333
Ref:
http://elinux.org/images/9/9e/Buildroot2.pdf (Page 5)
Book:
Embedded Linux Systems with the Yocto Project
Yocto for Embedded Linux Development Primer
Otavio Salvador, Daiane Angolini
121 pages
Publisher: Packt Publishing (April 6, 2014)
ISBN-10: 1783282339
ISBN-13: 978-1783282333
Monday, March 3, 2014
[Book] Git: Version Control for Everyone
Git: Version Control for Everyone (PDF)
Ravishankar Somasundaram
180 pages
Publisher: Packt Publishing (January 2013)
ISBN : 1849517525
ISBN 13 : 9781849517522
Reference:
Git
Sunday, March 2, 2014
[Book] Practical Reverse Engineering
Practical Reverse Engineering: x86, x64, ARM, Windows Kernel, Reversing Tools, and Obfuscation
Bruce Dang, Alexandre Gazet, Elias Bachaalany, Sébastien Josse
384 pages
Publisher: Wiley (February 2014)
ISBN: 978-1-118-78731-1
Subscribe to:
Posts (Atom)


