Assert error handled, use the iterator, key derivation and CRC like checksum validation added