How to pad a key if the input key is not 16 byte in java encryption?

前端 未结 0 824
抹茶落季
抹茶落季 2020-12-24 14:13

what if the input key is less than 16 bytes? i found a solution, but its not a best practice.

//hashing here act as padding because any input given, it will g         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题