diff options
-rw-r--r-- | apkkit/io/apkfile.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apkkit/io/apkfile.py b/apkkit/io/apkfile.py index 9e713b7..aa7cb2d 100644 --- a/apkkit/io/apkfile.py +++ b/apkkit/io/apkfile.py @@ -178,7 +178,7 @@ class APKFile: @classmethod def create(cls, package, datadir, sign=True, signfile=None, data_hash=True, - hash_method='sha1'): + hash_method='sha256'): """Create an APK file in memory from a package and data directory. :param package: @@ -197,8 +197,7 @@ class APKFile: Whether to hash the data (default True). :param str hash_method: - The hash method to use for hashing the data - default is sha1 to - maintain compatibility with upstream apk-tools. + The hash method to use for hashing the data - default is sha256. """ LOGGER.info('Creating APK from data in: %s', datadir) package.size = recursive_size(datadir) |