Answer to Question #59143 in Java | JSP | JSF for kenya

Question #59143
Write a program called crypto.js that encrypts passwords containing uppercase/lowercase characters, digits, and special characters. Use Pizza2Day! For the password.

See Sample Execution Below:

This program will encrypt user passwords.

Password: Pizza2Day!

Encrypting ……………

Encrypted Password: Njaam2Fmc!

The encryption key to use is below:

Original Value


Encrypted Value

a


m

b


h

c


t

d


f

e


g

f


k

g


b

h


p

i


j

j


w

k


e

l


r

m


q

n


s

o


l

p


n

q


i

r


u

s


o

t


x

u


z

v


y

w


v

x


d

y


c

z


a

Hint: Think how you could represent the encrypted value with an array and the decrypted value as the index position of the array. A dictionary would be a better approach.
0
Expert's answer

Answer in progress...

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS