01-30-2013 10:34 AM
I'm looking at implementing a 64Bit AES symmetric encryption using the Security Builder API, though I'm having difficulty finding a working sample or piecing it together from the API reference.
Any ideas?
02-01-2013 12:12 PM
Hi,
I'm not sure what you mean by 64bit, AES is normally measured by key size, and the supported key sizes are 128,192 and 256 bits.
There's a good tutorial (showing SHA) here;
http://supportforums.blackberry.com/t5/tkb/article
I think this code is really useful as it shows how to create the contexts and initialise the Security Builder code.
When doing AES, you generally,
create params
set key
begin
update * x
end
destroy the key
destroy the params