Skip to content

Commit

Permalink
style: исправить комментарий
Browse files Browse the repository at this point in the history
  • Loading branch information
Rirusha committed May 15, 2024
1 parent 857c843 commit d0d1b5c
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/client/cachier/storager.vala
Original file line number Diff line number Diff line change
Expand Up @@ -495,14 +495,13 @@ namespace Cassette.Client.Cachier {
yield;
}

/**
* Simple encoding to protect DRM content from direct access.
* Please do not publish an uncoded version on the Internet and do
* not distribute a workaround (albeit a simple one).
* This may cause the developer to have problems with Yandex.
*/
void simple_dencode (ref uint8[] data) {
/**
Простое кодирование для защиты DRM контента от прямого доступа.
Просьба не публиковать в интернете версию без кодирования и
не распространять способ обхода (пусть и простой).
Это может вызвать у разработчика проблемы с Яндексом
*/

for (int i = 0; i < data.length; i++) {
data[i] = data[i] ^ 0xFF;
}
Expand Down

0 comments on commit d0d1b5c

Please sign in to comment.