Update DESassignment to use different method in Encrypt-class

Signed-off-by: Antti-Ville Jokela <jokela.anttiville@gmail.com>