Add spongycastle dependency.
Added some test crypto code.