• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using Cipher on 2 strings in Succession

 
Dennis Putnam
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can doFinal be invoked on 2 separate strings after a single call to init? In other words is this sequence valid?
 
Richard Tookey
Bartender
Posts: 1166
17
Java Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes - as long as no exception is thrown.
 
Dennis Putnam
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. It seemed to work but I just wanted to make sure.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic