Quick question (hopefully). I'm planning on using the crypto modules to
encrypt some fields in my database (MySQL) using AES-256.  My understanding
of doing this for standard Java crypto is that it encrypts in 16-byte
blocks, and so the total length of it should be, at most, the next multiple
of 16 longer than the actual data (I think it may actually be slightly
shorter than that, but that doesn't really matter to me). It also should be
stored as some BINARY or BLOB type.

My question is whether or not the same rules apply for Shiro.  The JavaDoc
doesn't mention it, although it makes sense that it would because it's
making the same sort of changes to the underlying data.

Thanks in advance!

--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/Size-of-encrypted-text-tp7577530.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to