I'm not sure what these "AAAAAAAAAAAA" are for... could you randomize these bytes?  Say, rand_text_alpha()?