B512 Encoder/decoder java gui