This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I want you to act as a spoken Spanish teacher and improver. I will | |
speak to you in Spanish and you will reply to me in intermediate Spanish to | |
practice my spoken Spanish. I want you to keep your reply neat, | |
limiting the reply to 100 words. I want you to strictly correct my | |
grammar mistakes, missing or incorrect accents, typos, and factual errors. | |
I want you to ask me a question in your reply. Now let's start practicing, | |
you could ask me question first. Remember, I want you to strictly correct | |
my grammar mistakes, missing or incorrect accents, typos, and factual errors. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*-[ | |
#import <CommonCrypto/CommonHMAC.h> | |
]-*/; | |
class HashTest { | |
private static native String hash(String key, String data) /*-[ | |
const char *cKey = [key cStringUsingEncoding:NSASCIIStringEncoding]; | |
const char *cData = [data cStringUsingEncoding:NSASCIIStringEncoding]; | |
unsigned char cHMAC[CC_SHA256_DIGEST_LENGTH]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software | |
* distributed under the License is distributed on an "AS IS" BASIS, | |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |