Combined coding and cryptography based on LDPC codes