Using GnuPG for encryption and decryption

This post has moved to eklausmeier.goip.de/blog/2015/02-28-using-gnupg-for-encryption-and-decryption.

On Ubuntu install with:

apt-get install gnupg

First generate private and public key:

gpg --gen-key

Generating this key can take some time, because it needs enough randomness.

Store your public key in a file:

gpg -a --export

Although it is not necessary to store this public key, you usually will provide this public key to other people, see for example my public key.

Import public keys from other people by

gpg --import my-friend.pub

Now encrypt a message for my-friend:

gpg -aesr my-friend your-file

These options have the following effect:

  • -a: create base64 encoded output (“ASCII armored”). This is not necessary, so you can skip this option. If skipped the output is binary.
  • -e: encrypt
  • -s: add signature. This is not necessary. You could drop this option from above.
  • -r: recipient, here your-friend

Decrypting a file is the easiest part. Just type

gpg encrypted-file

WordPress.com News and Numbers: Year 2014 in Review

This post has moved to eklausmeier.goip.de/blog/2015/02-13-wordpress-com-news-and-numbers-year-2014-in-review.

Im(Press)ive! Your Year in Review published some usage statistics for the year 2014, which are quite astonishing:

  1. 18,300,771 new blogs
  2. 555,782,547 new posts
  3. 24.5 TB/h (Terabyte per hour)

Compare this with statistics from year 2013:

  1. 13,704,819 new blogs
  2. 489,281,136 new posts
  3. 667,675,929 comments

So WordPress.com is not only growing, they are growing faster than last year.

Downloading Binary Data, for example Boost C++ Library

This post has moved to eklausmeier.goip.de/blog/2015/02-12-download-boost-library.

Downloading the Boost C++ library is occasionally hindered by various company policies.

boost_1_57_0.7z.rc4.b64 is Boost version 1.57.0 (MD5 is 17c98dd78d6180f553fbefe5a0f57d12) in the following format:

  1. compressed with 7z, size 55 MB
  2. encrypted with RC4, password “boost”, size doesn’t change
  3. base64 encoded, size 74 MB

Encryption and encoding was done like this

openssl enc -rc4 -a -in boost_1_57_0.7z -out boost_1_57_0.7z.rc4.b64

Decrypting goes like this:

openssl enc -d -rc4 -a -in boost_1_57_0.7z.rc4.b64 -out unencrypted.7z

Announcement: 11th International Conference on Parallel Programming and Applied Mathematics

This post has moved to eklausmeier.goip.de/blog/2015/02-07-announcement-11th-international-conference-on-parallel-programming-and-applied-mathematics.

The conference will start in September 6-9, 2015, Krakow, Poland.

Parallel Programming and Applied Mathematics, PPAM for short, is a biennial conference started in 1994, with the proceedings published by Springer in the Lecture Notes in Computer Sciences series, see PPAM. It is sponsored by IBM, Intel, Springer, AMD, RogueWave, and HP. The last conference had a fee of 420 EUR.

It is held in conjunction with 6th Workshop on Language based Parallel Programming.

Prominent speakers are:

Continue reading