/** * Create an instance of TamperableEncryptedData from an EncryptedData instance. * * @param EncryptedData $other * * @return TamperableEncryptedData */ public static function fromBase(EncryptedData $other) { return static::fromArray($other->toArray()); }