added new method radomKey
added new method rename