See https://gist.github.com/Linnesq/6543802 for example of SecretData.java