encrypt timestamp
(including the javax.crypto jar)