Solved cryptography problem

Local test done.

Change-Id: I70a06abf36561a17dcf7f6489e7d295f73fce05a
Signed-off-by: Jae-young Hwang <musiren@gmail.com>