万年素人からHackerへの道

万年素人がHackerになれるまで殴り書きするぜ。

  • ・資産運用おすすめ
    10万円は1000円くらい利益
    資産運用ブログ アセマネ
    • ・寄付お願いします
      YENTEN:YYzNPzdsZWqr5THWAdMrKDj7GT8ietDc2W
      BitZenny:ZfpUbVya8MWQkjjGJMjA7P9pPkqaLnwPWH
      c0ban:8KG95GXdEquNpPW8xJAJf7nn5kbimQ5wj1
      Skycoin:KMqcn7x8REwwzMHPi9fV9fbNwdofYAWKRo

    siaqodbの疑問 Unity

    URL: http://siaqodb.com/?page_id=662

    暗号化をかけられるのだが、なぜかパスワードと変更可能。
    パスワードを変更してロードしても問題なくロードされる。
    これだと他の人に見られたりしないのか??

                    SiaqodbConfigurator.EncryptedDatabase = true;
                    SiaqodbConfigurator.SetEncryptionPassword("hoge");
    //                SiaqodbConfigurator.SetEncryptionPassword("bar");
                    SiaqodbConfigurator.SetEncryptor(BuildInAlgorithm.AES);
    

    hogeパスワードをbarにしても問題なくいけた

    AES がデフォルトパスワード。XTEAはオプション。

    Important: Once a database has been encrypted with a given algorithm and password, the same password and corresponding decryption algorithm must be used. If you want to change the password or use a different encryption algorithm you would need to follow these steps:

    1.Load all objects into memory (this decrypts them).
    一旦メモリからロードする

    2.Close the database.
    DBをクローズする

    3.Set the new password and encryption algorithm and then store the objects back into the Siaqodb database.
    新しいパスワードと暗号化アルゴリズムを設定して、SiaqodbのDBへ保存。