×

File sharing method and apparatus

  • US 9,825,924 B2
  • Filed: 09/08/2015
  • Issued: 11/21/2017
  • Est. Priority Date: 08/27/2013
  • Status: Active Grant
First Claim
Patent Images

1. A file sharing method, comprising:

  • encrypting, by a first terminal, a first file by using a first shared key to obtain a first encrypted file;

    encrypting, by the first terminal, a second file by using a second shared key to obtain a second encrypted file;

    uploading, by the first terminal, the first encrypted file and the second encrypted file to a server;

    receiving, by the first terminal, a first uniform resource locator (URL) corresponds to a location for saving the first encrypted file and a second URL corresponds to a location for saving the second encrypted file from the server;

    generating, by the first terminal, a key package of a file to be shared, wherein the file to be shared comprises at least one of the first encrypted file and the second encrypted file, and wherein the key package comprises a shared key and a URL that correspond to the file to be shared; and

    providing, by the first terminal, the key package for a second terminal, comprising;

    encrypting, by the first terminal, the key package by using a public key of the first terminal to obtain an encrypted key package;

    acquiring, by the first terminal, a public key of the second terminal;

    generating, by the first terminal, a proxy key according to a private key of the first terminal and the public key of the second terminal; and

    uploading, by the first terminal, the encrypted key package and the proxy key to the server, so that the server performs proxy re-encryption on the encrypted key package by using the proxy key, and provides, for the second terminal, the key package on which the proxy re-encryption has been performed.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×