File cipher.h
Go to the documentation of this file
#ifndef QQMUSIC_CRYPTO_CIPHER_H
#define QQMUSIC_CRYPTO_CIPHER_H
#include <qqmusic/utils/buffer.h>
namespace qqmusic::crypto {
class Cipher {
public:
virtual ~Cipher() = default;
virtual void decrypt(qqmusic::utils::buffer& buf, size_t offset) = 0;
};
} // namespace qqmusic::crypto
#endif // !QQMUSIC_CRYPTO_CIPHER_H