Implement Data Encryption Key variant

depends on the pull request for issue #1