Do You PHP はてブロ

Do You PHPはてなからはてブロに移動しました

2011-06-01から1ヶ月間の記事一覧

PHP5.4 alpha1 released

PHP

なんだか思ったよりも早かった印象。PHP5.4α1がリリースされました。ダウンロードはqa.php.netからどうぞ。 The PHP development team is proud to announce the first PHP 5.4 alpha release. PHP 5.4 includes new language features and removes several …

PHP5.3.7RC1リリース

PHP

PHP5.3.7RC1が出ました。NEWSの差分をざっと見た限り、バグFIX版のようです。 The first release candidates of 5.3.7 was just released for testing and can be downloaded here:http://downloads.php.net/johannes/php-5.3.7RC1.tar.bz2 (md5sum: 295a457…

opensslコマンドを使って暗号化/復号

個人的メモ。以下、AES(128bit)/CBCの場合。 $ CRYPT_KEY=`echo -n thekeyofcrypting | xxd -p` $ CRYPT_IV=`echo -n theinitialvector | xxd -p` $ TARGET_VALUE='Hello, World!' $ $ echo -n $TARGET_VALUE | openssl enc -e -aes-128-cbc -K $CRYPT_KEY -…

Commons CodecのBase64クラス使うとCould not find methodが発生する

API Version 4(Android OS 1.6)ではBase64エンコード/デコードするクラスが用意されていないので、Apache CommonsのCommons Codecを使ったところ、見事にハマったのでまとめときます。 現象 Commons CodecにあるBase64クラスを使ったコードをシミュレータ(An…