Function encrypt

pub fn encrypt(key: &LkIdentity, password: &[u8], cost: Costs) -> String