encrypt working properly

generate public address encrypt working properly