In cryptography , a shared secret is a piece of data only known to the parties involved in a secure communication . In cryptography , a shared secret is a piece of data , known only to the parties involved , in a secure communication .