New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added md5 message digest function to encrypt strings. #19274

Open
wants to merge 6 commits into
base: v3
from

Conversation

Projects
None yet
5 participants
@EricDDK
Copy link
Contributor

EricDDK commented Jan 3, 2019

This is a function of encrypting strings, generally used for message digests and checksum data.

dingdekai and others added some commits Sep 28, 2018

dingdekai
Merge remote-tracking branch 'upstream/v3' into v3
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
Update gradle 4.6, sdk28, android gradle plugin 3.1.0 (#19113)
* Update gradle 4.6, sdk28, android gradle  plugin 3.2.0

* Trigger build

* PROP_MIN_SDK_VERSION=16

* rollback to com.android.tools.build:gradle:3.1.0
[physics] add pre/post callback in `update()` (#19118)
* add physics update pre/post callback

* update space

* run before simulation
* @param the string to calculate md5 hash.
* @return The md5 hash for the string
*/
CC_DLL std::string getStringMD5Hash(const std::string &dataStr);

This comment has been minimized.

@PatriceJiang

PatriceJiang Jan 4, 2019

Collaborator

Please fix the code alignment

@PatriceJiang

This comment has been minimized.

Copy link
Collaborator

PatriceJiang commented Jan 4, 2019

Could you please rebase the change on to the recent v3 branch since the commit log is not brief.

screen shot 2019-01-04 at 3 02 11 pm

* Get ImageView's texture file.
* @return texture file.
*/
const std::string getTextureFile()const;

This comment has been minimized.

@Dimon4eg

Dimon4eg Jan 7, 2019

Contributor

better to return const reference not just const value

@@ -238,6 +238,11 @@ const Rect& ImageView::getCapInsets()const
return _capInsets;
}

const std::string ImageView::getTextureFile()const

This comment has been minimized.

@halx99

halx99 Jan 7, 2019

Contributor

No need const qualifier for non-reference result type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment