Sign and verify data with C/C++, Groovy/Java and Bash