Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(437)

Side by Side Diff: crypto/random.h

Issue 6873156: Move crypto_helpers from sync to base (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Move crypto_helpers to crypto instead of base. Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CRYPTO_RANDOM_H_
6 #define CRYPTO_RANDOM_H_
7 #pragma once
8
9 #include <string>
10
11 void GetRandomBytes(char* output, int output_length);
agl 2011/04/26 13:59:37 Needs a comment. The first argument should probabl
12 std::string Generate128BitRandomHexString();
agl 2011/04/26 13:59:37 // Generate128BitRandomHexString returns a string
13
14 #endif // CRYPTO_RANDOM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698